package org.springblade.modules.admin.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.core.tenant.mp.TenantEntity;

/**
    * 电梯故障明细表
    */
@Data
@EqualsAndHashCode(callSuper=true)
@TableName(value = "blade_elevator_malfunction_day")
public class ElevatorMalfunctionDay extends TenantEntity {
    /**
     * 故障累计次数
     */
    @TableField(value = "malfuntion_counts")
    private Integer malfuntionCounts;

    /**
     * 故障梯数
     */
    @TableField(value = "mal_elevator_counts")
    private Integer malElevatorCounts;

    /**
     * 维修部件数量
     */
    @TableField(value = "check_con_counts")
    private Integer checkConCounts;

    /**
     * 维修更换部件数量
     */
    @TableField(value = "check_con_change_counts")
    private Integer checkConChangeCounts;

    /**
     * 维保工时小时单位
     */
    @TableField(value = "maintain_hour")
    private Integer maintainHour;

    /**
     * 维修工时
     */
    @TableField(value = "mal_hour")
    private Integer malHour;

    /**
     * 平均故障率
     */
    @TableField(value = "avg_mal")
    private BigDecimal avgMal;

    /**
     * 平均可用率
     */
    @TableField(value = "avg_usable")
    private BigDecimal avgUsable;

    /**
     * 维修停梯次数
     */
    @TableField(value = "wx_stop_counts")
    private Integer wxStopCounts;

    /**
     * 保养停梯次数
     */
    @TableField(value = "by_stop_counts")
    private Integer byStopCounts;

    /**
     * 电梯ID
     */
    @TableField(value = "elevator_id")
    private Long elevatorId;

    /**
     * 单元id
     */
    @TableField(value = "unit_id")
    private Long unitId;

    /**
     * 栋或者座ID
     */
    @TableField(value = "block_id")
    private Long blockId;

    /**
     * 楼盘id
     */
    @TableField(value = "building_id")
    private Long buildingId;
}